<template> 
	 <u-button shape="circle" type="error" :ripple="true" ripple-bg-color="#b03030" :disabled="disabled" @click="btnClick" class="btn">{{title}}</u-button>
</template>

<script>
	export default {
		name:"MyBtn",
		props:{
			disabled:{
				type:Boolean,
				default:false
			},
			title:{
				type:String,
				default:''
			}
		},
		data() {
			return {
			};
		},
		onLoad() {
		},
		methods:{
			btnClick(){
				if(!this.disabled){
					this.$emit('click')
				} 
			}
		}
		
	}
</script>

<style lang="scss" scoped> 
.btn{
	margin: 50rpx auto;
	background: #B00E0E;
}
</style>
